package com.itheima.demo;

public class BoxDemo {//泛型类的使用
    public static void main(String[] args) {
        Box<Integer> integerBox = new Box<>();
        integerBox.setObj(123);
        int a = integerBox.getObj();
        System.out.println(a);
    }
}
